// import AppTest from './components/useStateTest';
// import AppTest from './components/useReducerTest';
// import AppTest from './components/useContextTest';
// import AppTest from './components/useEffectTest';
// import AppTest from './components/useMemoTest';
// import AppTest from './components/memoTest';
// import AppTest from './components/useCallbackTest';
// import AppTest from './components/useRefTest';
// import AppTest from './components/customizeHookTest1';
// import AppTest from './components/customizeHookTest2';
import { Link, Route } from 'react-router-dom';
import Home from './pages/Home';
import List from './pages/List';

function App() {
  // return <AppTest/>;
  return (
    <>
      <div>
        <Link to="/home">首页</Link>
        <Link to="/list">列表页</Link>
      </div>
      <div>
        <Route path="/home" component={Home}/>
        <Route path="/list" component={List}/>
      </div>
    </>
  )
} 

export default App;
